<template>
     <tbody>
        <tr v-for="item in list" :key="item.id">
          <td>{{item.date}}</td>
          <td>{{item.name}}</td>
          <td>{{item.result}}</td>
          <td>{{item.drug}}</td>
          <td @click="clickfn(item.id)">详情</td>
        </tr>
      </tbody>
</template>

<script>
export default {
    props: {
list:{
  type:Array,
  default:()=>[]
}
    },
    data() {
        return {

        };
    },
    computed: {

    },
    created() {

    },
    mounted() {

    },
    watch: {

    },
    methods: {
clickfn(id){
  this.$emit("clickXQ",id)
}
    },
    components: {

    },
};
</script>

<style scoped lang="scss">

</style>
